#!/bin/sh
## $Header: /pub/cvsroot/mydns/doc/texi/langdir,v 1.2 2002/11/05 02:39:03 bboy Exp $
## Output directory to use for current language

srcdir=en

if ! test -z "$LANG"; then
	if test -f $LANG/mydns.texi; then
		srcdir=$LANG
	else
		lng=`echo $LANG | ../../missing --run sed -e 's/_..//'`
		if test -f $lng/mydns.texi; then
			srcdir=$lng
		fi
	fi
fi
echo $srcdir

## vi:set ts=3:
